# 打印一个数的所有因数的个数
rav = int(input())
a = 1
b = 0
while a<=rav:
    if rav%a==0:
        b+=1
    a+=1
print(b)